package gui;

import java.awt.Color;

import javax.swing.JLabel;

/********************************************************
 *
 *  Project :  TeamProject
 *  Package :  gui
 *  File    :  HelpItemLabel.java
 *  Name    :  Tyler Daines
 *  Date    :  Nov 25, 2013
 *
 ********************************************************/
public class HelpItemLabel extends JLabel
{
	private String label;
	private String name;
	/********************************************************
	 * Name       : HelpItemPanel
	 * Purpose    : Constructor
	 * Parameters : 
	 ********************************************************/
	public HelpItemLabel(String label, String name)
	{
		this.label = label;
		this.name = name;
		setBackground(Color.WHITE);
		setText(label);
	}
	
	@Override
	public String toString()
	{
		// TODO Auto-generated method stub
		return name;
	}
}
